package org.example.liaoxuefeng.jsp;

import java.io.File;


public class Main {

	public static void main(String[] args) throws Exception {
		// Tomcat tomcat = new Tomcat();
		// tomcat.setPort(Integer.getInteger("port", 8080));
		// tomcat.getConnector();
		// Context ctx = tomcat.addWebapp("", new File("src/main/webapp").getAbsolutePath());
		// WebResourceRoot resources = new StandardRoot(ctx);
		// resources.addPreResources(
		// 		new DirResourceSet(resources, "/WEB-INF/classes", new File("target/classes").getAbsolutePath(), "/"));
		// ctx.setResources(resources);
		// tomcat.start();
		// tomcat.getServer().await();
	}
}
